<!DOCTYPE html>
<html>

    <head>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">

        <title>FastAdmin - {:__('The fastest framework based on ThinkPHP5 and Bootstrap')}</title>

        <!-- Bootstrap Core CSS -->
        <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
        <link href="__CDN__/assets/css/index.css" rel="stylesheet">

        <!-- Plugin CSS -->
        <link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
        <link href="//cdn.bootcss.com/simple-line-icons/2.4.1/css/simple-line-icons.min.css" rel="stylesheet">

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
            <script src="//cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
            <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>

    <body  >


 
 <div class="container">
        

        <div class="jumbotron">
          <h1>FastAdmin 简易留言板入门课</h1>
          <p>一起快乐学习！fa</p>
           
        </div>

             
      <!-- 左右布局 S -->
  <div class="row">
 
        <!-- 页面左侧 S -->
        <div class="col-md-8">   <table class="table table-hover">
                  <thead>
                    <tr>
                      <th>#</th>
                      <th>留言标题</th>
                      <th>留言内容</th>
                      <th>发布时间</th>
                    </tr>
                  </thead>
                  <tbody>
                     {volist name='list' id='user'}
                    <tr>
                      <th scope="row">1</th>
                      <td>{$user.title}</td>
                      <td>{$user.content}</td>
                      <td>{$user.createtime}</td>
                    </tr>
               {/volist}
                  </tbody>
                </table>

                
                {$list->render()}

        <!-- 左侧 E -->
        </div>


        <!-- 页面右侧 S-->
        <div class="col-md-4">

              <div class="panel panel-primary">
                <div class="panel-heading">发布留言</div>
                <div class="panel-body">
                   <form class="form-horizontal" action="" method="post" >
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">留言标题</label>
                      <div class="col-sm-10">
                        <input type="text" class="form-control" name="title" placeholder="Text input">
                      </div>
                    </div>
 
 
                    <div class="form-group">
                      <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">发布留言</button>
                      </div>
                    </div>
                  </form>
                </div>

              </div>


              <div class="panel panel-primary">
                <div class="panel-heading">FastAdmin零基础入门</div>
                <div class="panel-body">
                  右侧页面内容。。。
                </div>

              </div>

         <!-- 右侧 end -->
        </div>
       
      <!-- 左右布局 E -->
  </div>




 </div>

    




    
 


  

    </body>

</html>